package com.exchange.used.web;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@Controller
public class IndexController {

    @RequestMapping(value = "/", method = RequestMethod.GET)
    public String login(){
        return "login";
    }
    @RequestMapping(value = "/index", method = RequestMethod.GET)
    public String index(){
        return "back/index";
    }

    
    @RequestMapping(value = "/user", method = RequestMethod.GET)
    public String user(){
        return "back/user";
    }
    @RequestMapping(value = "/userEdit", method = RequestMethod.GET)
    public String userEdit(){
        return "back/userEdit";
    }

    
    @RequestMapping(value = "/goods", method = RequestMethod.GET)
    public String goods(){
        return "back/goods";
    }
    @RequestMapping(value = "/goodsEdit", method = RequestMethod.GET)
    public String goodsEdit(){
        return "back/goodsEdit";
    }

    
    @RequestMapping(value = "/order", method = RequestMethod.GET)
    public String order(){
        return "back/order";
    }
    @RequestMapping(value = "/orderEdit", method = RequestMethod.GET)
    public String orderEdit(){
        return "back/orderEdit";
    }

    
    @RequestMapping(value = "/type", method = RequestMethod.GET)
    public String type(){
        return "back/type";
    }
    @RequestMapping(value = "/typeEdit", method = RequestMethod.GET)
    public String typeEdit(){
        return "back/typeEdit";
    }

    @RequestMapping(value = "/record", method = RequestMethod.GET)
    public String record(){
        return "back/record";
    }

    @RequestMapping(value = "/address", method = RequestMethod.GET)
    public String address(){
        return "back/address";
    }
    @RequestMapping(value = "/addressEdit", method = RequestMethod.GET)
    public String addressEdit(){
        return "back/addressEdit";
    }


    @RequestMapping(value = "/state", method = RequestMethod.GET)
    public String state(){
        return "back/state";
    }
    @RequestMapping(value = "/stateEdit", method = RequestMethod.GET)
    public String stateEdit(){
        return "back/stateEdit";
    }


    @RequestMapping(value = "/userInfo", method = RequestMethod.GET)
    public String userInfo(){
        return "back/userInfo";
    }
    @RequestMapping(value = "/userPassword", method = RequestMethod.GET)
    public String userPassword(){
        return "back/userPassword";
    }


///////////////////////////////////////////////////////////////////////////////


    @RequestMapping(value = "/goodsList", method = RequestMethod.GET)
    public String goodsList(){
        return "front/goodsList";
    }

    @RequestMapping(value = "/myList", method = RequestMethod.GET)
    public String myList(){
        return "front/myList";
    }

    @RequestMapping(value = "/myOrder", method = RequestMethod.GET)
    public String myOrder(){
        return "front/myOrder";
    }

    @RequestMapping(value = "/myOrderEdit", method = RequestMethod.GET)
    public String myOrderEdit(){
        return "front/myOrderEdit";
    }

    @RequestMapping(value = "/myGoods", method = RequestMethod.GET)
    public String myGoods(){
        return "front/myGoods";
    }

    @RequestMapping(value = "/myGoodsOrder", method = RequestMethod.GET)
    public String myGoodsOrder(){
        return "front/myGoodsOrder";
    }

    @RequestMapping(value = "/myGoodsEdit", method = RequestMethod.GET)
    public String myGoodsEdit(){
        return "front/myGoodsEdit";
    }

    @RequestMapping(value = "/myAddress", method = RequestMethod.GET)
    public String myAddress(){
        return "front/myAddress";
    }

    @RequestMapping(value = "/myAddressEdit", method = RequestMethod.GET)
    public String myAddressEdit(){
        return "front/myAddressEdit";
    }

    @RequestMapping(value = "/myRecord", method = RequestMethod.GET)
    public String myRecord(){
        return "front/myRecord";
    }

    @RequestMapping(value = "/myRecordEdit", method = RequestMethod.GET)
    public String myRecordEdit(){
        return "front/myRecordEdit";
    }
    
}
